<html>
	<body>
		{% for luna in lunas %}
            {% if luna.name %}
                <b>{{ luna.name }}</b>
            {% else %}
                Unnamed Luna
            {% endif %}
            added at {{ luna.date }}<br />
		{% endfor %} <br />

		<form action="/add?%s" method="post">
			<div>Name:<input name="name"></input></div>
			<div>ID:<input name="id"></input></div>
			<div>IP:<input name="ip"></input></div>
			<div>Port<input name="port"></input></div>
			<div>Duration:<input name="duration"></input></div>
			<div><input type="submit" value="add"></input></div>
		</form>
	</body>
</html>